import request from '@/utils/request';

// 获取法规分类
export function getRegulationTypesApi() {
  return request({
    url: '/users/legal/regulation_documents/types',
    method: 'get',
  });
}
// 获取法规列表
export function getRegulationListApi(data) {
  return request({
    url: '/users/legal/regulation_documents',
    method: 'get',
    data,
  });
}
// 获取法规详情
export function getRegulationDetailApi(id) {
  return request({
    url: `/users/legal/regulation_documents/${id}`,
    method: 'get',
  });
}
